<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/aui.css">
    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="js/init.js"></script>
    <title>客服</title>
    <style>
        #kefu{
            position: absolute;
            width: 60%;
            left:20%;
            bottom: 5%;
        }
    </style>
</head>
<body>
<header>
    <a href="index.html" class="f1 head-back"></a>
    <div class="f8">客服</div>
    <div class="f1"></div>
</header>
<section class="re">
    <img class="col-10 block" src="img/kefubg.jpg" alt="">
    <img id="kefu" class="col-10" src="" alt="" >

</section>

<script src="js/foot.js"></script>
<script>
    var data;
    new AjaxRequest({
        type: 'post',
        data: data,
        dataType: 'json',
        url: hostUrl + 'index/Mycenter/myservice',
        callback: res => {

            if(res.status == 1){

                $("#kefu").attr('src',res.data.service_qr);

            }

        }
    });
</script>

</body>
</html>